package the.broccoli.et.infrastructure.persistent.mapper;

import org.apache.ibatis.annotations.Param;
import org.wisteria.framework.web.mvc.dao.SuperMapper;
import the.broccoli.et.domain.model.UserEventStatistic;
import the.broccoli.et.infrastructure.persistent.model.EventTrigger;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author lei.liu
 * @date 2021/7/20
 */
public interface EventTriggerMapper extends SuperMapper<EventTrigger> {

    List<UserEventStatistic> listUserEventStatistic(@Param("eventCode") String eventCode, @Param("startTime") LocalDateTime startTime, @Param("endTime") LocalDateTime endTime);

}
